package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.Result;
import com.itheima.pojo.DiseaseLibrary;

public interface DiseaseLibraryService  {
    /**
     * 分页查询
     * @param pageNum  查询页码
     * @param pageSize  每页显示条数
     * @param queryString   检查项编号或者名称
     * @return  分页查询返回结果
     */
    PageResult findPage(int pageNum, int pageSize, String queryString);

    Result add(DiseaseLibrary diseaseLibrary);

    void delete(int id);

    void update(DiseaseLibrary diseaseLibrary);
}

